package droidninja.filepicker.models;

import java.util.List;

/**
 * <p>Title: MediaResult </p>
 * <p>Description:  </p>
 * <p>Company: www.mapuni.com </p>
 *
 * @author : 蔡俊峰
 * @version : 1.0
 * @date : 2024-03-01 13:34
 */
public class MediaResult {

    public static interface OnMediaResultListener {
        void onMediaResult(MediaResult result);
    }

    private boolean isSuccessFul;
    private List<String> path;

    public MediaResult(boolean isSuccessFul, List<String> path) {
        this.isSuccessFul = isSuccessFul;
        this.path = path;
    }

    public MediaResult(List<String> path) {
        this(true, path);
    }

    public boolean isSuccessFul() {
        return isSuccessFul;
    }

    public List<String> getPath() {
        return path;
    }
}
